<?php include_once 'includes/header.php'; ?><div id="wrap"><div id="main"><div class="top"></div>
    <div id="mainarea">
      <h2 class="title">个人资料 </h2>
      <div class="l_status c_form"> <a href="cp.jhtml?ac=profile&amp;op=base">基本资料</a><span class="pipe">|</span> <a href="cp.jhtml?ac=profile&amp;op=contact" class="active">联系方式</a><span class="pipe">|</span> <a href="cp.jhtml?ac=profile&amp;op=work">工作情况</a> </div>
      <form method="post" action="cp.jhtml?ac=profile&amp;op=contact&amp;ref" class="c_form">
        <script type="text/javascript">
function jscheck(regex,text,msg)
{
	var patt=new RegExp(regex);
	if(!patt.test(text.value))
	{
		text.value="";
		alert(msg);
	}
}
</script>
        <table cellspacing="0" cellpadding="0" class="formtable">
          <tbody>
            <tr>
              <th style="width: 10em;">常用邮箱:</th>
              <td> anticipationvu@gmail.com<br>
                邮箱等待验证中...<br>
                系统已经向该邮箱发送了一封验证激活邮件，请查收邮件，进行验证激活。<br>
                如果没有收到验证邮件，您可以<a href="cp.jhtml?ac=profile&amp;op=contact&amp;editemail=1">更换一个邮箱</a>，或者<a href="cp.jhtml?ac=profile&amp;op=contact&amp;resend=1">重新接收验证邮件</a></td>
              <td></td>
            </tr>
            <tr>
              <th style="width: 10em;">手机:</th>
              <td><input type="text" class="t_input" name="mobile" value="" onblur="jscheck('^0?[1][358][0-9]{9}$',this,'请输入正确的手机号')"></td>
              <td><select name="friend[mobile]">
                  <option value="0">全用户可见</option>
                  <option value="1">仅好友可见</option>
                  <option value="3">仅自己可见</option>
                </select></td>
            </tr>
            <tr>
              <th style="width: 10em;">QQ:</th>
              <td><input type="text" class="t_input" name="qq" value="" onblur="jscheck('^[1-9]{1}[0-9]{4,9}$',this,'请输入正确的QQ号')"></td>
              <td><select name="friend[qq]">
                  <option value="0">全用户可见</option>
                  <option value="1">仅好友可见</option>
                  <option value="3">仅自己可见</option>
                </select></td>
            </tr>
            <tr>
              <th>MSN:</th>
              <td><input type="text" class="t_input" name="msn" value="" onblur="jscheck('^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,4}$',this,'请输入正确的MSN号码')"></td>
              <td><select name="friend[msn]">
                  <option value="0">全用户可见</option>
                  <option value="1">仅好友可见</option>
                  <option value="3">仅自己可见</option>
                </select></td>
            </tr>
            <tr>
              <th style="width: 10em;">&nbsp;</th>
              <td><input type="submit" name="nextsubmit" value="下一项" class="submit">
                <input type="submit" name="profilesubmit" value="保存" class="submit"></td>
              <td>&nbsp;</td>
            </tr>
          </tbody>
        </table>
        <input type="hidden" name="formhash" value="5e5eb8de">
      </form>
      <script>
function add_tbody() {
	for(i=0; i<$("oldtbody").rows.length; i++) {
		newnode = $("oldtbody").rows[i].cloneNode(true);
		$("newtbody").appendChild(newnode);
	}
}
</script> 
    </div>
    <div class="bot"></div>
  </div>
  <?php include_once 'includes/sidebar_config.php'; ?>
</div>
<?php include_once 'includes/footer.php'; ?>
